﻿@using System.Globalization
@model DateTime?

@(Html.TextBoxFor(m => m, (Model.HasValue ? Model.Value.ToString("dd/MM/yyyy", new CultureInfo("th-TH")) : ""), new { @class = "datepicker" })

)

